package Grantsfire::Schema::Org;

use strict;
use warnings;

use base 'DBIx::Class';

__PACKAGE__->load_components("Timestamper", "Core");
__PACKAGE__->table("org");
__PACKAGE__->add_columns(
  "id",
  { data_type => "INT", default_value => undef, is_nullable => 0, size => 11 },
  "created",
  {
    data_type => "DATETIME",
    default_value => undef,
    is_nullable => 1,
    size => 19,
  },
  "modified",
  {
    data_type => "DATETIME",
    default_value => undef,
    is_nullable => 1,
    size => 19,
  },
  "vcard",
  { data_type => "INT", default_value => undef, is_nullable => 1, size => 11 },
  "description",
  {
    data_type => "TEXT",
    default_value => undef,
    is_nullable => 1,
    size => 65535,
  },
  "tax_status",
  {
    data_type => "VARCHAR",
    default_value => undef,
    is_nullable => 1,
    size => 250,
  },
  "dtfounded",
  {
    data_type => "DATETIME",
    default_value => undef,
    is_nullable => 1,
    size => 19,
  },
  "budget",
  {
    data_type => "DECIMAL",
    default_value => undef,
    is_nullable => 1,
    size => 20,
  },
  "director",
  { data_type => "INT", default_value => undef, is_nullable => 1, size => 11 },
  "logo_url",
  {
    data_type => "VARCHAR",
    default_value => undef,
    is_nullable => 1,
    size => 250,
  },
  "funding_areas",
  {
    data_type => "TEXT",
    default_value => undef,
    is_nullable => 1,
    size => 65535,
  },
);
__PACKAGE__->set_primary_key("id");
__PACKAGE__->has_many(
  "feeds",
  "Grantsfire::Schema::Feed",
  { "foreign.org" => "self.id" },
);
__PACKAGE__->belongs_to("vcard", "Grantsfire::Schema::Vcard", { id => "vcard" });
__PACKAGE__->belongs_to("director", "Grantsfire::Schema::Vcard", { id => "director" });


# Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-05-12 22:27:20
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:y395BrL/yKH+k05QXlRARA


# You can replace this text with custom content, and it will be preserved on regeneration
1;
